package modelo;

import java.util.HashMap;
import java.util.Vector;

public class UIndustrial extends Usuario{
	public static final String USUARIO_INDUSTRIAL = "I";
	private String razsoc;
	private float cuit;
	private float iibb;
	private String condFisc;
	
	public UIndustrial(String calle, int altura, String piso, String dpto,
			String codpost, String provincia, Vector<Medicion> mediciones,
			Vector<Factura> facturas, String razsoc, float cuit, float iibb, String condFisc) {
		super(calle, altura, piso, dpto, codpost, provincia);
		this.razsoc = razsoc;
		this.cuit = cuit;
		this.iibb = iibb;
		this.condFisc = condFisc;
	}
	
//CONSTRUCTOR	
	public UIndustrial(){
		super();
	}
	
	public String getRazsoc() {
		return razsoc;
	}
	public void setRazsoc(String razsoc) {
		this.razsoc = razsoc;
	}
	public float getCuit() {
		return cuit;
	}
	public void setCuit(float cuit) {
		this.cuit = cuit;
	}
	public float getIibb() {
		return iibb;
	}
	public void setIibb(float iibb) {
		this.iibb = iibb;
	}
	public String getCondFisc() {
		return condFisc;
	}
	public void setCondFisc(String condFisc) {
		this.condFisc = condFisc;
	}
	
	@Override
	public HashMap<String, String> getHashMap(){
		HashMap<String, String> hash = super.getHashMap();
		hash.put("razsoc", razsoc);
		hash.put("cuit", Float.toString(cuit));
		hash.put("iibb", Float.toString(iibb));
		hash.put("condFisc", condFisc);
		
		return hash;
	}
	
	
}

